#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
int main(void)
{
	int lower = 0, upper = 0;
	scanf("%d %d", &lower, &upper);
	if (lower>upper || upper>100){
		printf("Invalid.");
	}
	else{
		printf("fahr celsius\n");
		for (; lower <= upper; lower += 2){
			printf("%d%6.1lf\n", lower, 5.0*(lower - 32) / 9.0);
		}
	}
	return 0;
}
